#pragma once
#include "DXAMLCommon.h"
#include "IPALHtmlHostCallbacks.h"
#include "IXcpHostSite.h"
#include "IPALUri.h"



class IPALHtmlHost
{
public:
	virtual unsigned int SetCallbacks(IPALHtmlHostCallbacks *) = 0;
	virtual unsigned int Create(IXcpHostSite *, XRECTF_WH, void *) = 0;
	virtual void Destroy() = 0;
	virtual unsigned int SetParentWindow(void *) = 0;
	virtual unsigned int SetVisibility(IXcpHostSite *, unsigned int) = 0;
	virtual unsigned int Navigate(CXString *) = 0;
	virtual unsigned int NavigateToString(CXString *) = 0;
	virtual unsigned int SaveToString(unsigned int *, unsigned __int16 **) = 0;
	virtual unsigned int EnterFullScreen() = 0;
	virtual unsigned int ExitFullScreen() = 0;
	virtual unsigned int SetPosition(float, float) = 0;
	virtual unsigned int SetSize(float, float) = 0;
	virtual unsigned int SetZoom(float) = 0;
	virtual unsigned int ResizeToFitPlugin() = 0;
	virtual unsigned int Redraw() = 0;
	virtual unsigned int GetBitmapInfo(unsigned int *, unsigned int *, void **) = 0;
	virtual unsigned int UpdateBitmap() = 0;
	virtual unsigned int TranslateAcceleratorW(void *, unsigned int *) = 0;
	virtual unsigned int TabInto() = 0;
	virtual unsigned int TabOut() = 0;
	virtual unsigned int Invoke(CXString *, unsigned int, CXString *, CXString **) = 0;
	virtual unsigned int GetActualUri(IPALUri **, unsigned int *, unsigned int *) = 0;
	virtual unsigned int GetInteropHandleForAutomation(void **) = 0;
};